package com.rt.system.domain;

import com.rt.common.annotation.Excel;
import com.rt.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 试卷试题关联对象 rt_exam_paper_questions
 * 
 * @author Yg
 * @date 2022-05-09
 */
public class RtExamPaperQuestions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 本表id */
    private Long id;

    /** 试卷id */
    @Excel(name = "试卷id")
    private Long examPaperId;

    /** 试题id */
    @Excel(name = "试题id")
    private String questionId;

    /** 设置分数 */
    @Excel(name = "设置分数")
    private BigDecimal score;

    /** 难易度id */
    @Excel(name = "难易度id")
    private Long difficulty;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setExamPaperId(Long examPaperId) 
    {
        this.examPaperId = examPaperId;
    }

    public Long getExamPaperId() 
    {
        return examPaperId;
    }
    public void setQuestionId(String questionId)
    {
        this.questionId = questionId;
    }

    public String getQuestionId()
    {
        return questionId;
    }
    public void setScore(BigDecimal score)
    {
        this.score = score;
    }

    public BigDecimal getScore()
    {
        return score;
    }

    public Long getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(Long difficulty) {
        this.difficulty = difficulty;
    }

    @Override
    public String toString() {
        return "RtExamPaperQuestions{" +
                "id=" + id +
                ", examPaperId=" + examPaperId +
                ", questionId=" + questionId +
                ", score=" + score +
                '}';
    }
}
